package com.glp.work.flow.request;

import com.glp.work.flow.response.WfOrderResultDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @author : 郭永伟
 * @date : 2020/09/08/10:35
 * @description :工单批量审批
 */
@Data
public class OrderBatchApprovalDTO implements Serializable {

    @ApiModelProperty(value = "用户ID")
    private String userNo;
    @ApiModelProperty(value = "审批操作,不能为空！PASS:审批通过 / FAIL:审批不通过 / REJECT:审批驳回 /REJECT_TO_UP:驳回上一岗 ")
    @NotBlank(message = "审批操作,不能为空！PASS:审批通过 / FAIL:审批不通过 / REJECT:审批驳回 / REJECT_TO_UP:驳回上一岗")
    private String result;
    @ApiModelProperty(value = "评论意见")
    private String comment;
    @ApiModelProperty(value = "流程参数Map")
    private Map<String, Object> processVariable;
    @ApiModelProperty(value = "表单数据Map")
    private Map<String, Object> formData;
    @ApiModelProperty(value = "动态分配用户集合")
    private List<String> userNos;
    @ApiModelProperty(value = "手写签字数据")
    private Map<String, String> handWritingSignatureData;
    @ApiModelProperty(value = "跳转到任务的节点id")
    private String targetActivityId;
    @ApiModelProperty(value = "批量审批工单")
    private List<WfOrderResultDTO> wfOrderResultDTOS;

    @ApiModelProperty(value = "验证码")
    String yzm;
}
